package main

import (
	"bufio"
	"bytes"
	"fmt"
)

func main() {
	data := []byte("中华人民共和国")
	rd := bytes.NewReader(data)
	r := bufio.NewReader(rd)
	b1, err := r.Peek(9)
	fmt.Println(string(b1), err)
	b1, err = r.Peek(18)
	fmt.Println(string(b1), err)
	b1, err = r.Peek(27)
	fmt.Println(string(b1), err)
}
